package com.bbs.dao;

import java.util.List;

import com.bbs.model.User;

public interface UserDao extends IDao<User>{
	/*
	 * 登陆验证
	 */
	public User logIn(User user);
	public User logOut(User user);
	/**
	 * 得到用户列表
	 * @return
	 */
	public List<User> listUser();
	
	public int resetPassword(User user);
	/**
	 * 设为角色
	 * @param user
	 * @return 
	 */
	public int setRole(User user);
	
}
